// [[ OnflowGenerator File UUID: 44cb221cfd2543e58ed607c0236ca988  ]]
package com.itdct.onflow.system.file.qo

import com.itdct.onflow.core.qo.BaseQo
import com.itdct.onflow.core.type.Add
import com.itdct.onflow.core.type.Update
import io.swagger.v3.oas.annotations.media.Schema
import jakarta.validation.constraints.NotNull
import org.hibernate.validator.constraints.Length
import java.util.*

/**
 * @author DCTANT
 * @date 2025-09-28 16:29:56
 * @version 1.0
 * @description 系统传输中心文件关联编辑入参
 */
@Schema(name = "系统传输中心文件关联编辑入参", description = "系统传输中心文件关联编辑入参")
class SysTransferCenterFileRelEditQo : BaseQo() {
    // [[ OnflowGenerator Range (- fields -) Start ]]
    @Schema(title = "传输中心id关联", example = "")
    @NotNull(message = "请输入传输中心id关联", groups = [Add::class, Update::class])
    var transferCenterId: Long? = null

    @Schema(title = "文件id关联", example = "")
    @NotNull(message = "请输入文件id关联", groups = [Add::class, Update::class])
    var fileId: Long? = null

    @Schema(title = "执行状态", example = "")
    @NotNull(message = "请输入执行状态", groups = [Add::class, Update::class])
    var executeState: Int? = null

    @Schema(title = "总行数", example = "")
    @NotNull(message = "请输入总行数", groups = [Add::class, Update::class])
    var totalCount: Int? = null

    @Schema(title = "成功数量", example = "")
    @NotNull(message = "请输入成功数量", groups = [Add::class, Update::class])
    var successCount: Int? = null

    @Schema(title = "失败数量", example = "")
    @NotNull(message = "请输入失败数量", groups = [Add::class, Update::class])
    var failCount: Int? = null

    @Schema(title = "跳过数量", example = "")
    @NotNull(message = "请输入跳过数量", groups = [Add::class, Update::class])
    var skipCount: Int? = null

    @Schema(title = "错误信息", example = "")
    @Length(max = 2000, message = "错误信息不能超过2000个字符", groups = [Add::class, Update::class])
    var errorMessage: String? = null

    @Schema(title = "处理开始时间", example = "")
    var startTime: Date? = null

    @Schema(title = "处理结束时间", example = "")
    var finishTime: Date? = null

// [[ OnflowGenerator Range (- fields -) End ]]
}